//
//  MBProgressHUD+Extension.h
//  DoulinClient
//
//  Created by Apple on 2018/11/20.
//

#import "MBProgressHUD.h"

@interface MBProgressHUD (Extension)

+ (MBProgressHUD *)createHUD:(NSString *)msg;
+ (MBProgressHUD *)showGif;
+ (MBProgressHUD *)showGifWithMsg:(NSString *)msg toView:(UIView *)view;

+ (void)showMsg:(NSString *)msg;
+ (void)showMsg:(NSString *)msg time:(CGFloat)time;

+ (MBProgressHUD *)hudAddProgress:(UIView *)addView;
+ (void)deleteProgress:(MBProgressHUD *)hud;


////////////////////////////////////////////////////////////////////////////////
//+ (MBProgressHUD *)showMessage:(NSString *)message toView:(UIView *)view;
//+ (MBProgressHUD *)showMessage:(NSString *)message;
//
//+ (void)showSuccess:(NSString *)success;
//+ (void)showSuccess:(NSString *)success toView:(UIView *)view;
//+ (void)showError:(NSString *)error;
//+ (void)showError:(NSString *)error toView:(UIView *)view;
//
//+ (void)hideHUD;
//+ (void)hideHUDForView:(UIView *)view;

@end

